package com.abcode.nettyserverwebsocket.controller.api;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("/api/user")
public class UserController {

    @PostMapping("reg")
    public String register(Map<String, Object> paramMap){
        return "register success";
    }
}
